package com.mz.mattress.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mz.mattress.api.entity.CouponSendRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CouponSendRecordMapper extends BaseMapper<CouponSendRecord> {

    IPage<CouponSendRecord> listPage(Page page,
                                     @Param("mobile") String mobile,
                                     @Param("status") Integer status,
                                     @Param("couponId") Integer couponId,
                                     @Param("userId") Integer userId,
                                     @Param("userName") String userName,
                                     @Param("startTime") String startTime,
                                     @Param("endTime") String endTime);

}
